package cn.itsource.config;

import com.qcloud.cos.region.Region;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 创建 WechatConfig实体类用来存值 对象用来读取yaml中的微信的配置
 */
@Data
@ConfigurationProperties(prefix = "tx-cos") //需要用该注解来读取yaml配置项 如在yaml文件中wechat: appid
public class TXCosConfig {
    private String secret_id; //="AKIDkM1SfeO3czSuAD2XyEHiz2rRmskNluoU";
    private String secret_key;//="VlmYFl392hS6Ynqga2IK8LdqvofO1Xu5";
    private String region_name;// ="ap-chongqing";
    private String bucket_name;// = "driver-private-1329486557";
    private String folder;


}
